﻿using Appliaction.Dto.Pinv;
using AutoMapper;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.Profiles.Pinv
{
    public class PuProfils: Profile
    {
        public PuProfils() 
        {
            CreateMap<Pinv_purret, Pu_deleteDto>().ReverseMap();

            CreateMap<Pinv_purret, Pu_AddDto>().ReverseMap();
            CreateMap<Pinv_podet, Pu_details_Add_Dto>().ReverseMap();


            CreateMap<Pinv_purret, Pu_UpdateDto>().ReverseMap();
            CreateMap<Pinv_podet, Pu_details_Update_Dto>().ReverseMap();

            CreateMap<Pinv_purret, Pu_Audit_Dto>().ReverseMap();
            CreateMap<Pinv_podet, Pu_details_Audit_Dto>().ReverseMap();
        }
    }
}
